package com.app.backend.base.dao.mapper;

import com.app.backend.base.entity.Role;
import com.app.backend.base.entity.UserRole;
import io.lettuce.core.dynamic.annotation.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @program: UserRoleMapper
 * @description:
 * @author: Zhun.Xiao
 * @create: 2020-02-08 18:20
 **/
public interface UserRoleMapper extends BaseMapper<UserRole> {

    List<Role> findByUserId(@Param("userId") String userId);

}